const  moduleB = {
    namespaced:true,
    state: () =>({
        countB:20
    }),
    getters:{
        doubleCountB(state){
            return state.countB * 2
        }
    },
    mutations:{
        incrementB(state) {
            state.countB++
        }
    },
    actions:{
        asyncIncrementB({commit}){
            commit("incrementB")
        }
    }
}

export default moduleB